<script lang="ts" setup>
const props = defineProps<{
  src: string;
}>();
</script>

<template>
  <Mimage class="Avater" :src="props.src" :fit="'cover'" round>
    <template #:loading>
      <van-loading type="spinner" />
    </template>
  </Mimage>
</template>

<style lang="less" scoped>
.Avater {
  --size: 144rem;
  height: var(--size);
  width: var(--size);
}
</style>
